<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="0" />
        <link rel="stylesheet" type="text/css" href="css/style_all.css" charset="UTF-8" />
<!--        <link rel="stylesheet" href="css/mBoxNotice.css" charset="UTF-8" />-->
<!--        <link rel="stylesheet" href="css/mBoxTooltip.css" charset="UTF-8" />-->
        <link rel="icon" href="data:;">

        <title></title>

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
        <meta content="yes" name="apple-mobile-web-app-capable" />
        <meta content="black" name="apple-mobile-web-app-status-bar-style" />
        <meta content="telephone=no" name="format-detection" />
    </head>
    <body style="overflow: auto; margin:0px; height: 100%;">
        <div id="appContent" class="appContent" style="overflow: hidden; height:100%;">
            <div id="loaddingArea" style="overflow: hidden;width:0px; height:2px; background-color:#4e82bd; position: absolute; top: 0; z-index: 100"></div>
        </div>
        <div id="appContentMask" style="overflow: hidden; height:100%; position: relative; top: -100%; background-size: cover"></div>

        <script src="../o2_core/o2.min.js"></script>
        <script src="../o2_lib/Decimal.js"></script>
        <script src="js/base_portal.min.js"></script>
        <script src="js/o2m.api.min.js"></script>
        <script src="js/portal.min.js"></script>
        <script>layout.mobile = true;</script>
        <script text="text/javascript">
            function addWxJsSdk() {
                //插入微信jssdk
                var script = document.createElement("script");
                script.type = "text/javascript";
                script.src = "../o2_lib/wechat/jweixin-1.6.0.js";
                document.body.appendChild(script);
            }
            // 根据ua判断当前环境 加载各种jssdk
            var u = navigator.userAgent.toLocaleLowerCase();
            // /miniProgram/i.test(u) 小程序
            // /wxwork/i.test(u) 企业微信
            if (/micromessenger/i.test(u)){ // 微信 企业微信 小程序
                //微信的WeixinJSBridgeReady加载完成后进行判断
                if (!window.WeixinJSBridge || !WeixinJSBridge.invoke) {
                    document.addEventListener('WeixinJSBridgeReady', addWxJsSdk, false);
                } else {
                    addWxJsSdk();
                }
            }else if (/uni-app/i.test(u)) { // uniapp开发的app
                var script = document.createElement("script");
                script.type = "text/javascript";
                script.src = "../o2_lib/uniapp/uni.webview.1.5.2.js";
                document.body.appendChild(script);
            }else if (/dingtalk/i.test(u)) { // 钉钉
                
            }
        </script>
    </body>
</html>
